package com.dykj.fireFighting.server.base.video.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.dykj.fireFighting.api.base.video.dto.VideoDto;
import com.dykj.fireFighting.api.base.video.entity.Video;
import com.dykj.fireFighting.api.base.video.vo.VideoVo;
import com.dykj.fireFighting.common.core.mapper.SuperMapper;
import com.dykj.fireFighting.common.core.vo.TreeVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @Description 监控设备管理
 * @Author hxb
 * @Date 2021-06-25 08:42:12
 */
public interface VideoMapper extends SuperMapper<Video> {


    /**
     * 根据条件查询video
     *
     * @param page
     * @param params
     * @return
     */
    IPage<VideoVo> queryVideoList(IPage<VideoDto> page, @Param("params") Map<String, Object> params);
    List<VideoVo> queryVideoPositionList( @Param("unitId") String unitId);
    TreeVo queryVideoTree(String unitId);

}
